home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / March 96 / ODFacet parameter in RenderShap < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  756 b   |  [TEXT/ttxt]

  1. Subject:     ODFacet parameter in RenderShape
  2. Sent:        3/8/96 10:29 AM
  3. Received:    3/8/96 9:41 AM
  4. From:        Arni McKinley, motion@nbn.com
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Henri,
  9.  
  10. I've noticed that there is an ODFacet parameter in the RenderShape() method
  11. of CRectShap and other shapes in ODFDraw which isn't used. I noticed that
  12. none of the FW_CShape methods need it for their Render() methods, which the
  13. RenderShape() methods call.
  14.  
  15. I got confused trying to render a rectangle to a bitmap which doesn't have
  16. a facet and worried about sending in a NULL, until I discovered this
  17. tidbit.
  18.  
  19. Perhaps you might want to consider dropping the parameter.
  20.  
  21. Arni McKinley
  22.  
  23.